package pe.com.csi.pm.regexiv.service;

import java.util.List;

import android.content.Context;

import pe.com.csi.pm.regexiv.bean.Alcantarilla;
import pe.com.csi.pm.regexiv.dao.AlcantarillaDAOImpl;
import pe.com.csi.pm.regexiv.interfaces.AlcantarillaDAO;

public class AlcantarillaService implements AlcantarillaDAO {

	private AlcantarillaDAO alcaDAO;

	public AlcantarillaService(Context context) {
		alcaDAO = new AlcantarillaDAOImpl(context);
	}

	@Override
	public int registrar(Alcantarilla alca) {
		return alcaDAO.registrar(alca);
	}

	@Override
	public int actualizar(Alcantarilla alca) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int eliminar(Alcantarilla alca) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int eliminarAll() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Alcantarilla> obtenerAll() {
		return alcaDAO.obtenerAll();
	}

	@Override
	public List<Alcantarilla> obtenerAll(Alcantarilla alca) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Alcantarilla obtener(Alcantarilla alca) {
		// TODO Auto-generated method stub
		return null;
	}

}
